package com.tbit.uqbike.service.business.tag.event;

import com.tbit.uqbike.webmanager.dto.TagDTO;
import org.springframework.context.ApplicationEvent;

/**
 * 标签删除成功事件
 *
 *
 * @author <a href="mailto:chen.chaoxiong@tbit.com.cn">ChenChaoXiong</a>
 * @since 2024/7/15
 */
public class TagDeleteSuccessEvent extends ApplicationEvent {
    private final TagDTO tag;

    public TagDeleteSuccessEvent(Object source, TagDTO tag) {
        super(source);
        this.tag = tag;
    }

    public TagDTO getTag() {
        return tag;
    }
}
